From: Florian Müllner Date: Wed, 17 Nov 2010 10:08:24 +0000 (+0100) Subject: magnifier: Fix DND when the magnifier is active X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9415 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=35b5cb9860f78c69520f76bb42aa4a03e7896e49;p=gnome-shell.git magnifier: Fix DND when the magnifier is active Hide the zoom regions from pick so that they do not interfere with the picking done by DND in search for _delegate objects. https://bugzilla.gnome.org/show_bug.cgi?id=634560 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 472fdea59..91a0e773f 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -896,6 +896,9 @@ ZoomRegion.prototype = { this._magView = new St.Bin({ style_class: 'magnifier-zoom-region', x_fill: true, y_fill: true }); global.stage.add_actor(this._magView); + // hide the magnified region from CLUTTER_PICK_ALL + Shell.util_set_hidden_from_pick (this._magView, true); + // Append a Clutter.Group to clip the contents of the magnified view. let mainGroup = new Clutter.Group({ clip_to_allocation: true }); this._magView.set_child(mainGroup);